home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Whiteline: delta
/
whiteline CD Series - delta.iso
/
tools
/
anwender
/
gnuplot
/
demo
/
mgr.dem
< prev
next >
Wrap
Text File
|
1995-11-25
|
2KB
|
61 lines
#
# $Id: mgr.dem,v 1.2 1994/03/13 14:58:30 alex Exp $
#
pause 0 "Watch some 3-splines"
set samples 50
set xlabel "Angle (deg)"
set ylabel "Amplitude"
set title "Brag-Reflex -- Peak only"
plot "big_peak.dat" title "Rate" with errorbars, "big_peak.dat" t "Rate" w csplines
pause -1 "You would draw smaller bars? <CR>"
set bars small
replot
set bars large
pause -1 "A 1-spline demo <CR>"
set samples 100
set xlabel "Time (sec)"
set ylabel "Rate"
set title "Ag 108 decay data"
plot "silver.dat" t "rate" w errorb, "silver.dat" t "rate" w splines
pause -1 "Make it smooter, use 3-splines <CR>"
set samples 300
plot "silver.dat" t "rate" w errorb, "silver.dat" t "rate" w csplines
pause -1 "Make it smooter still with bezier <CR>"
set samples 100
plot "silver.dat" t "rate" w errorb, "silver.dat" t "rate" w sbezier
pause -1 "You would rather use log-scales ? <CR>"
set logscale y
plot "silver.dat" t "rate" w errorb, "silver.dat" t "rate" w sbezier
pause -1 "Errorbar demo <CR>"
set nologscale
set xlabel "Resistance [Ohm]"
set ylabel "Power [W]"
set title "UM1-Cell Power"
n(x)=1.53**2*x/(5.67+x)**2
plot [0:50] "battery.dat" t "Power" with xyerrorbars, n(x) t "Theory" w lines
pause -1 "Would you like boxes? <CR>"
plot [0:50] "battery.dat" t "Power" with boxxy, n(x) t "Theory" w lines
pause -1 "Only X-Bars? <CR>"
plot [0:50] "battery.dat" u 1:2:3 t "Power" w xerr, n(x) t "Theory" w lines
pause -1 "Only Y-Bars? <CR>"
plot [0:50] "battery.dat" u 1:2:4 t "Power" w yerr, n(x) t "Theory" w lines
pause -1 "Logscaled? <CR>"
set logscale y
plot [0:50] "battery.dat" u 1:2:4 t "Power" w yerr, n(x) t "Theory" w lines
pause -1 "X as well? <CR>"
set logscale xy
plot [1:50] "battery.dat" t "Power" w xyerr, n(x) t "Theory" w lines
pause -1 "If you like bars without tics <CR>"
set nologscale
set bars small
plot [0:50] "battery.dat" t "Power" with xyerrorbars, n(x) t "Theory" w lines
pause -1 "X-Bars only <CR>"
plot [0:50] "battery.dat" u 1:2:3 t "Power" w xerr, n(x) t "Theory" w lines
pause -1 "Y-Bars only <CR>"
plot [0:50] "battery.dat" u 1:2:4 t "Power" w yerr, n(x) t "Theory" w lines
set bars large
set xlabel ""
set ylabel ""
set title ""